package com.songcha.module_home

import android.app.Application
import android.content.Context
import com.songcha.library_business.config.FunctionConfig
import com.songcha.library_business.provider.IApplicationInitProvider
import com.songcha.library_business.proxy.personal_recommend.PersonalRecommendManager
import com.songcha.library_common.BuildConfig
import com.songcha.library_common.LibraryCommon


class ModuleHomeApplication : Application(),IApplicationInitProvider {
    companion object{
        lateinit var mContext:Context

        @JvmStatic
        fun init(application:Application){
            mContext=application
        }
    }

    override fun onCreate() {
        super.onCreate()
        mContext=this
        LibraryCommon.init(this)
        //TODO
        PersonalRecommendManager.init()
        //com.songcha.library_business.LibraryBusinessApplication.init(this)
    }

    override fun initApplication(application: Application) {
        //init(application)
        ModuleHomeApplication.init(application)
    }

    override fun init(context: Context?) {

    }


}